package cn.sirun.com.fca.personal.center.repo;

import com.tencent.cloud.iov.kernel.constant.HttpHeaderConst;
import com.tencent.cloud.iov.kernel.model.BaseResponse;


import cn.sirun.com.fca.personal.center.model.request.MessageRequest;
import cn.sirun.com.fca.personal.center.model.response.MessageResponse;
import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

public interface MessageService {

    @Headers({HttpHeaderConst.ADD_COOKIE, HttpHeaderConst.CONTENT_TYPE_JSON})
    @POST("/v2/account/edit_info/get_emergency")
    Observable<BaseResponse<MessageResponse>> getMessageList(@Body MessageRequest request);
}
